<?php echo $this->Html->css(array('users.login','form'),null,array('inline'=>false));?>
<div class="content">
	<div class="left-column">
    	<div class="box corners register-info">
    		<h2><?php echo __('Booked or Quoted Before?',true)?></h2>
    		<?php echo $this->Section->generate(2);?>
    	</div>
    	<div class="shadow-left"></div>
   		 <div class="clr"></div> 	
    	<div class="box corners register-help">
    		<h2><?php echo __('Need to help?',true)?></h2>
    		<?php echo $this->Section->generate(3);?>
    	</div>
    	<div class="shadow-left"></div>

	</div>
		
	<div class="right-column main-column">
		<div class="box corners">
			<?php if($session->check("Auth.User.id")){?>
			<h2 class="red"><?php __("Logout")?></h2>
			<?php echo $session->read("Auth.User.email")?> | 
			<?php echo $html->link(__("Logout",true),array('plugin'=>false,'controller'=>'users','action'=>'logout'),array('class'=>'button'));?>
			<?php }else{?>
			<h2 class="red"><?php __("Welcome to My Vindcharter")?></h2>
			<p>
				<?php echo __('My Vindcharter is a secure section of the site designed for Vindcharter customers and prospective customers. It allows you to view and manage your current bookings, save and compare quotes, write a review and upload images of your vacation or manage your preferences. Please login below.')?>
			</p>
			<div class="text-content">
				<?php echo $this->Form->create('User', array('url' => array('controller' => 'users', 'action' =>'login')));?>
					
				<?php echo $this->Form->input('email',array('after'=>'<span class="after">'.__('Enter the e-mail you created when you registered with the website.',true).'</span>'))?>
				<?php echo $this->Form->input('password',array('after'=>'<span class="after">'.__('Enter the password created in your account, or the system generated password sent to you by email.',true).'</span>'))?>
				<br/>
				<?php echo $html->link(__("Forgot your password?",true),array('controller'=>'users','action'=>'new_password'));?>
			
				<?php echo $this->Form->end(__('Login',true));?>
			</div>
			<?php }?>
		</div>
	</div>
</div>
<div class="clr"></div>
